closestTo

fun List<Size>.closestTo(size: Size): Size

Find the closest size to the given size in a list of sizes.